using Game;

namespace SCIENEW {
    /// <summary>
    /// 具有制造合成属性的机器都接上此接口
    /// </summary>
    public interface ICrafterComponent {
        int RemainsSlotIndex { get; }

        int ResultSlotIndex { get; }

        /// <summary>
        /// 所需的热值，分辨配方被哪个机器使用
        /// </summary>
        static int RequiredHeatLevel { get; }

        CraftingRecipe MatchRecipe(SubsystemTerrain terrain, string[] ingredients, float heatLevel, float playerLevel);
    }
}